# import my_module
# my_module.say_hi('xtc')



#import os
# print(os.path.basename(os.getcwd()))
# os.remove(r'D:\python\ceshi1\ceshi2.py')
# os.removedirs(r'D:\python\ceshi1')



# import sys
# print(sys.argv)



# import time
# print(time.localtime(time.time()))



# import time
# t1 = 1594883127.777005                #当前时间总数    开始时间1970年1月1日
# t2 = time.localtime(t1)               #形成一种类似时间选择库的形式存在
# t3 = time.gmtime(t1)                  #以英国时间线开始的时间总数
# t4 = time.strptime('2020-07-16 15:05',"%Y-%m-%d %H:%M")     #通过对应输入转换成时间选择库
# print(time.strftime('%Y-%m-%d %H:%M ',t2))          #通过时间选择库输出想要输出的时间
# print(time.mktime(t4))                                #将时间选择库转换成时间总数




# import random,string
# while True:
#     # a = random.random()
#     c = list(string.ascii_lowercase+string.digits)
#     b = random.sample(c,5)
#     # print(c)
#     # random.shuffle(c)
#     # print(b)
#     # print(c)
#     for i in b:
#         if b.count(i) > 1:
#             print('you')
#             break



# import pickle
# b = [1,2,3,4,5,6,7]
# d = {
#     'name':'yyt',
#     'age':22,
#     'sex':'m'
# }
# b_pic = pickle.dumps(b)
# d_pic = pickle.dumps(d)
# with open('pic.pk','wb') as pic:
#     pickle.dump((b_pic,d_pic),pic)
#
# f = open('pic.pk','rb')
# q,p = pickle.load(f)
# f.close()
# print(pickle.loads(q))
# print(pickle.loads(p))



# import datetime
# print(datetime.datetime.now())
# print(datetime.datetime.now().replace(year=1000,month=12,day=30,hour=10,minute=10,second=10))



# import hashlib
# m = hashlib.md5('xlk'.encode('utf-8'))
# print(m.hexdigest())                         #md5
# m1 = hashlib.md5()
# m1.update('yyt'.encode('utf-8'))
# print(m1.digest())
# m = hashlib.sha1('yyt'.encode('utf-8'))
# print(m.hexdigest())
# m1 = hashlib.sha512('yyt'.encode('utf-8'))
# print(m1.hexdigest())



#import shutil
#shutil.copyfile('练习7.8.py','ceshi1.py')





# b = []
# import re                      #判断电话合法
# f = open(r'C:\Users\Administrator\Desktop\22222.txt','r',encoding='UTF-8')
# d = f.read()
# f.close()
# b = re.findall('([0-9]{11})',d)
# print(b)
# for i in b:
#     if i[0] != '1':
#         print('buhege')



# import re             #判断邮箱合法
# d = re.fullmatch('\w+@\w+\.(com|cn|edu)','!1197@qq.com')
# if d == 'none':
#     print('buhefa')
# else:
#     print('hefa')

# import re
# a = re.compile('\([^()]*\)')     #括号
# b = re.compile('(\d+)(\.\d+)?[\*/][\+-]?(\d+)(\.\d+)?')     #乘除
# c = re.compile('[+-]?\d+(?:\.\d+)?')    #加减
# def jisuan(s):                  #计算乘除
#     if '*' in s:
#         left_num,right_num = s.split('*')
#         return str(float(left_num) * float(right_num))
#     elif '/' in s:
#         left_num,right_num = s.split('/')
#         return str(float(left_num) / float(right_num))
# def qvfushu(s):                  #去正负
#     s = s.replace('++','+')
#     s = s.replace('+-','-')
#     s = s.replace('-+','-')
#     s = s.replace('--','+')
#     return s
# def jisuan_mix(s):                        #计算流程
#     while True:                            #计算乘除
#         s_obj = b.search(s)
#         if s_obj :
#             old = s_obj.group()
#             new = jisuan(old)
#             s = s.replace(old,new)
#         else:
#             break
#     old = qvfushu(s)                #计算加减
#     lst = c.findall(old)
#     conut = 0
#     for i in lst:
#         conut += float(i)
#     return conut
# def kuohao(s):                          #选取最小级括号内容
#     while True:
#         s_obj = a.search(s)
#         if s_obj:
#             s_exp = s_obj.group()
#             s_new = str(jisuan_mix(s_exp))
#             s = s.replace(s_exp,s_new)
#         else:
#             return s
#
# sss = '1-2((60-30+(-40/5)*(9-25/3+7/399/42998+10568/14))-(-43)/(16-32))'
# s = kuohao(sss)
# s_end = jisuan_mix(s)
# print(s_end)


import os
print(os.path.isfile(os.getcwd()+r'\acconut.json'))
